home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Candy Factory Pro
/
Candy Factory Pro.iso
/
DEMOVERSIONEN
/
ElasticDreamsDemoGer
/
Install_ElasticDreams
< prev
next >
Wrap
Text File
|
1998-03-13
|
14KB
|
721 lines
; $VER: ElasticDreams_Install 1.000 (04.02.98)
; Script to install ElasticDreams Version 1.0
(complete 0)
(user 1)
;=============================================================================
; English strings
(set default_lang 4)
(set #bad-kick "ElasticDreams needs Amiga-OS 3.0 or higher")
(set SelectDir1Msg
(cat "Please select a directory\nto install ElasticDreams in"
)
)
(Set ProgMsg
(cat "Which parts should i install?"
)
)
(set Choice1Msg "ElasticDreams Mainprogram (8 MB)")
(set Choice2Msg "ElasticDreams Tools (1 MB)")
(set Choice3Msg "ElasticDreams Instruction (200 KB)")
(set FPU1Msg "None")
(set FPU2Msg "Yes, this machine is with FPU")
(set CPU1Msg "MC68000")
(set CPU2Msg "MC68030")
(set CPU3Msg "MC68040")
(set CPU4Msg "MC68060")
(set CPU5Msg "PPC603/604")
(set CPUMsg "What CPU does the machine have that you are installing ElasticDreams Pro?")
(set UpDategraf "Checking and updating graffiti.library, if needed...")
(set InstallElasticDreamsProg "Installing ElasticDreams professional main program...")
(set InstallLoader "Installing loader...")
(set InstallSaver "Installing saver...")
(set InstallOperator "Installing Operator files...")
(set InstallViewer "Installing viewers...")
(set InstallGuide "Installing Guide-File...")
(set InstallTools "Installing Tools...")
(set InstallBG "Installing Background...")
(set InstallImages "Installing Images...")
(set AssignAdd1
(cat "\nAdding the ElasticDreams assignment to s:user-startup - it currently looks like this:\n\n%s\n\n"
(cat "assign ElasticDreams: " ElasticDreamsDir)
)
)
;=============================================================================
; German strings
(if (= @language "deutsch")
(
(set default_lang 2)
(set #bad-kick "ElasticDreams benötigt mindestens Amiga-OS 3.0 oder höher")
(set SelectDir1Msg
(cat "Wählen Sie ein Verzeichnis, wo Sie ElasticDreams "
"installieren möchten. Ein Verzeichnis mit den "
"Namen ElasticDreams wird automatisch angelegt!"
)
)
(Set ProgMsg
(cat "\nWelche Dateien sollen installiert werden?\n"
)
)
(set Choice1Msg "ElasticDreams Hauptprogramm (ca. 8 MB)")
(set Choice2Msg "ElasticDreams Tools (ca. 1 MB)")
(set Choice3Msg "ElasticDreams Anleitung (ca. 200 KB)")
(set FPU1Msg "Keine vorhanden")
(set FPU2Msg "ja, FPU vorhanden")
(set CPU1Msg "MC68000")
(set CPU2Msg "MC68030")
(set CPU3Msg "MC68040")
(set CPU4Msg "MC68060")
(set CPU5Msg "PPC603/604")
(set CPUMsg "Welchen Prozessor besitzt der Computer, auf dem Sie ElasticDreams installieren möchten?")
(set UpDategraf "Prüfe und Erneuere die graffiti.library, wenn nötig...")
(set InstallElasticDreamsProg "Installiere ElasticDreams Version 2.0 Hauptprogramm...")
(set InstallLoader "Installiere Lademodule...")
(set InstallSaver "Installiere Speichermodule...")
(set InstallOperator "Installiere Bildbearbeitungsmodule...")
(set InstallViewer "Installiere Anzeigemodule...")
(set InstallGuide "Installiere Guide-Datei...")
(set InstallTools "Installiere Werkzeuge...")
(set InstallBG "Installiere Hintergrund...")
(set InstallImages "Installing Bilder...")
(set AssignAdd1
(cat "\nFüge ElasticDreams Zuweisung an s:user-startup - Es würde wie folgt Aussehen:\n\n%s\n\n"
(cat "assign ElasticDreams: " ElasticDreamsDir)
)
)
)
)
(if (> (* 39 65536) (getversion "exec.library" (resident)))
(abort #bak-kick)
)
(welcome)
(set old_level @user-level)
(user 2)
(if ( < (exists "ElasticDreams:" (noreq)) 2)
(
(set target (askdir
(prompt SelectDir1Msg)
(help #which-dir-help)
(default "SYS:")
))
(set ElasticDreamsDir (tackon target "ElasticDreams"))
)
)
(if (exists "ElasticDreams:" (noreq))
(
(set target "ElasticDreams:")
(set ElasticDreamsDir "ElasticDreams:")
)
)
(user old_level)
(set WAS
(askoptions
(prompt ProgMsg)
(help @askchoice-help)
(choices Choice1Msg Choice2Msg Choice3Msg)
(default 7)
)
)
(set MainDirPPC (tackon ElasticDreamsDir "MainPPC"))
(set LoaderDir (tackon ElasticDreamsDir "Loader"))
(set LoaderDirPPC (tackon ElasticDreamsDir "LoaderPPC"))
(set OperatorDir (tackon ElasticDreamsDir "Operator"))
(set OperatorDirPPC (tackon ElasticDreamsDir "OperatorPPC"))
(set ViewerDir (tackon ElasticDreamsDir "Viewer"))
(set SaverDir (tackon ElasticDreamsDir "Saver"))
(set ToolsDir (tackon ElasticDreamsDir "Tools"))
(set DocDir (tackon ElasticDreamsDir "Docs"))
(set ImagesDir (tackon ElasticDreamsDir "Images"))
(set BackgroundDir (tackon ElasticDreamsDir "Background"))
(set BackgroundSmallDir (tackon ElasticDreamsDir "Background/Small"))
(If (IN WAS 0)
(
(set CPU
(askchoice
(prompt CPUMsg)
(help @askchoice-help)
(choices CPU1Msg CPU2Msg CPU3Msg CPU4Msg CPU5Msg)
(default 1)
)
)
(set FPU
(askchoice
(prompt FPUMsg)
(help @askchoice-help)
(choices FPU1Msg FPU2Msg)
(default 1)
)
)
(if ( < (exists ElasticDreamsDir (noreq) ) 2)
(makedir ElasticDreamsDir
(prompt "Creating ElasticDreams directory...")
(help @makedir-help)
(infos)
)
)
(complete 10)
(if ( < (exists LoaderDir (noreq) ) 2)
(makedir LoaderDir
(prompt "Creating Loader directory...")
; (help @makedir-help)
)
)
(complete 11)
(if ( < (exists ViewerDir (noreq) ) 2)
(makedir ViewerDir
(prompt "Creating Viewer directory...")
; (help @makedir-help)
)
)
(complete 12)
(if ( < (exists BackgroundDir (noreq) ) 2)
(makedir BackgroundDir
(prompt "Creating Background directory...")
; (help @makedir-help)
)
)
(complete 13)
(if ( < (exists BackgroundSmallDir (noreq) ) 2)
(makedir BackgroundSmallDir
(prompt "Creating BackgroundSmall directory...")
; (help @makedir-help)
)
)
(complete 14)
(if ( < (exists SaverDir (noreq) ) 2)
(makedir SaverDir
(prompt "Creating Saver directory...")
; (help @makedir-help)
)
)
(complete 15)
(if ( < (exists ToolsDir (noreq) ) 2)
(makedir ToolsDir
(prompt "Creating Tools directory...")
; (help @makedir-help)
)
)
(complete 16)
(if ( < (exists OperatorDir (noreq) ) 2)
(makedir OperatorDir
(prompt "Creating Operator directory...")
; (help @makedir-help)
)
)
(complete 17)
(if ( < (exists ImagesDir (noreq) ) 2)
(makedir ImagesDir
(prompt "Creating Images directory...")
; (help @makedir-help)
)
)
(complete 18)
(copyfiles
(prompt "Installing Font files...")
(help @copyfiles-help)
(source "Fonts/")
(dest "FONTS:")
(all)
(confirm)
)
(If (IN WAS 2)
(
(complete 20)
(if (= default_lang 4)
(
(copyfiles
(prompt "Copy ElasticDreams...")
(help @copyfiles-help)
(source "ElasticDreamsEnglish")
(dest ElasticDreamsDir)
(newname "ElasticDreams")
(confirm)
)
))
(if (= default_lang 2)
(
(copyfiles
(prompt "Kopiere ElasticDreams...")
(help @copyfiles-help)
(source "ElasticDreamsDeutsch")
(dest ElasticDreamsDir)
(newname "ElasticDreams")
(confirm)
)
)
)
)
)
(complete 26)
(copyfiles
(prompt "Installing ElasticDreams Icon...")
(help @copyfiles-help)
(source "ElasticDreams.info")
(dest ElasticDreamsDir)
(confirm)
)
(If (IN WAS 2)
(
(complete 28)
(if (= default_lang 4)
(
(complete 30)
(copyfiles
(prompt "Installing ElasticDreams SmallBackground...")
(help @copyfiles-help)
(source "Background English/Small/")
(dest BackgroundSmallDir)
(all)
(confirm)
)
(complete 34)
(copyfiles
(prompt "Installing Composer Background...")
(help @copyfiles-help)
(source "Background English/Compose Blank")
(dest BackgroundDir)
(newname "BGCompose")
(confirm)
)
(complete 36)
(copyfiles
(prompt "Installing Elastic Background...")
(help @copyfiles-help)
(source "Background English/Elastic Blank")
(dest BackgroundDir)
(newname "BGElastic")
(confirm)
)
(complete 38)
(copyfiles
(prompt "Installing Manager Background...")
(help @copyfiles-help)
(source "Background English/Background Manager")
(dest BackgroundDi